package cn.itsource.org.mapper;
import cn.itsource.org.domain.TbUser;
import cn.itsource.org.qury.UserQuery;

import java.util.List;

/**
* @author 小手冰凉
* @description 针对表【tb_user(用户信息表)】的数据库操作Mapper
* @createDate 2024-06-02 17:11:42
* @Entity generator.domain.TbUser
*/
public interface TbUserMapper {
    List<TbUser> quertAll(UserQuery userQuery);
    int deleteByPrimaryKey(Long id);

    int insert(TbUser record);

    int insertSelective(TbUser record);

    TbUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbUser record);

    int updateByPrimaryKey(TbUser record);

    void deleteByCollection(List<TbUser> users);
    TbUser selectByUsername(String userName);
}
